package cn.tedu.pojo.pet.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 路西斯
 * 5\15 14:50
 */
@Data
@Accessors(chain = true)
public class PetCategoryDTO implements Serializable {
    @ApiModelProperty(value = "宠物类型id",example = "1")
    @NotNull(message = "添加失败，必须指定宠物类别id！")
    private Long typeId;
    @ApiModelProperty(value = "宠物品种名称",example = "布偶猫")
    @NotNull(message = "添加失败，必须提交宠物品种名称")
    private String categoryName;
    @ApiModelProperty(value = "是否启用",example = "0，未启动")
    private Integer isDelete;
}
